3 Andrés Mejía-Posada (andmej@gmail.com)
27 #define foreach(x, v) for (typeof (v).begin() x = (v).begin(); x != (v).end(); ++x)
28 #define For(i, a, b) for (int i=(a); i<(b); ++i)
29 #define D(x) cout << #x " is " << x << endl
41 if (s
[0] == 'M') m
++; else f
++;
42 if (s
[1] == 'M') m
++; else f
++;
44 if (m
% 2 == 0 && f
% 2 == 0){
45 cout
<< "LOOP" << endl
;
47 cout
<< "NOT LOOP" << endl
;